home *** CD-ROM | disk | FTP | other *** search
- LDGETSYMSTR(3X) Last changed: 11-5-98
-
-
- NNAAMMEE
- llddggeettssyymmssttrr - Gets a symbol type string
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ssttddiioo..hh>>
- ##iinncclluuddee <<ffiilleehhddrr..hh>>
- ##iinncclluuddee <<ssyymmss..hh>>
- ##iinncclluuddee <<llddffccnn..hh>>
-
- iinntt llddggeettssyymmssttrr (("_l_d_p_t_r, _p_s_y_m_r,_i_s_y_m,_b_u_f_f_e_r""))
- LLDDFFIILLEE **_l_d_p_t_r;
- PPSSYYMMRR **_p_s_y_m_r;
- iinntt _i_s_y_m;
- iinntt _f_l_a_g_s;
- cchhaarr **_b_u_f_f_e_r;
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems (o32 ABI only)
-
- DDEESSCCRRIIPPTTIIOONN
- llddggeettssyymmssttrr puts, in the caller-provided buffer, a string with the
- information that is available on the symbol passed in. There is no
- mechanism to prevent buffer overflow, so it is best to provide a large
- buffer. 2048 bytes should be 10 or 20 times the size of any
- reasonable string. The string put in _b_u_f_f_e_r is terminated by a
- null(0) byte by llddggeettssyymmssttrr.
-
- Both a symbol index (as is supplied to llddttbbrreeaadd )) and a ppSSYYMMRR pointer
- pointing to the data for the indexed symbol (previously filled by a
- call to llddttbbrreeaadd) must be passed to llddggeettssyymmssttrr.
-
- llddggeettssyymmssttrr returns SSUUCCCCEESSSS if it has been able to access the symbol
- table or NNUULLLL, if it has not.
-
- If the symbol is simply a label (as in assembler code), the string put
- in the buffer will be of length 0 (that is, the zero byte of the
- buffer will be set to 0).
-
- The program must be loaded with the object file access routine library
- lliibbmmlldd..aa.
-
- iinnttrroo(4) describes IINNCCDDIIRR and LLIIBBDDIIRR.
-
- SSEEEE AALLSSOO
- ffooppeenn(3S), llddcclloossee(3X), llddooppeenn(3X), llddttbbrreeaadd(3X)
-
- iinnttrroo(4), llddffccnn(4)
-
- This man page is available only online.
-
-